//
//  ShareManager.h
//  WeiYiMei
//
//  Created by 李叶夫 on 2019/4/27.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SucceessBlock)(BOOL completed, NSString *message);

@interface ShareManager : NSObject

/**
 *  分享
 *  多图分享，items里面直接放图片
 *  分享链接
 *  NSString *textToShare = @"mq分享";
 *  UIImage *imageToShare = [UIImage imageNamed:@"imageName"];
 *  NSURL *urlToShare = [NSURL URLWithString:@"https://www.baidu.com"];
 *  NSArray *items = @[urlToShare,textToShare,imageToShare];
 */
+ (void)mq_share:(NSArray *)items target:(id)target success:(SucceessBlock)successBlock;

@end

NS_ASSUME_NONNULL_END
